package com.aisier.architecture.base

import androidx.annotation.LayoutRes
import androidx.fragment.app.Fragment
import com.powervision.base.anno.FragmentConfiguration

/**
 * @auth: njb
 * @date: 2021/11/12 10:27
 * @desc: 路由中心
 */
abstract class BaseFragment(@LayoutRes contentLayoutId: Int) : Fragment(contentLayoutId) {

    private var useEventBus = false

    init {
        this.javaClass.getAnnotation(FragmentConfiguration::class.java)?.let {
            useEventBus = it.useEventBus
        }
    }
}